{% extends "wiki/base.html"%}
{% load i18n %}

{% block title %} {{ page.namespace }} :: {{ page.name }} {% trans "revision's list" %}{% endblock %}

{% block maincontent %}
	<h1 class="pagetitle">{{ page.namespace }} :: {{ page.name }} {% trans "revision's list" %}</h1>
	<h1 class="block"><a href="/wiki/pages/{{ page.name }}/">{{ page.namespace }} :: {{ page.name }}</a></h1>
	<div class="column1-unit">
	<table border="1">
		<tr>
			<th>
				{% trans "Date" %}
			</th>
			<th>
				{% trans "Author" %}
			</th>
			<th>
				{% trans "View" %}
			</th>
		</tr>
		{% for revision in page.orderedRevisionList %}
			<tr>
				<td>
					{{ revision.lastChangeDate }}
				</td>
				<td>
					{{ revision.author }}
				</td>
				<td>
					<ul>
						<li><a href="/wiki/revisions/{{ revision.id }}/">{% trans "View" %}</a></li>
						<li><a href="/wiki/pages/{{ page.name }}/{{ revision.id }}/edit/">{% trans "Set as actual revision" %}</a></li>
					</ul>
				</td>
			</tr>
		{% endfor %}
	</table>
	</div>

{% endblock %}
{% block rightmenu %}
{% endblock %}
